﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace ServidorConciliacion
{
    [DataContract]
    public class EventoDTO
    {

        [DataMember]
        public String IdSesion { get; set; }
        [DataMember]
        public String IPCliente { get; set; }
        [DataMember]
        public DateTime Timestamp { get; set; }
        [DataMember]
        public String Texto { get; set; }

        [DataContract(Name = "Comando")]
        public enum Comandos {
            [EnumMember]
            CONEXION, 
            [EnumMember]
            DESCONEXION,
            [EnumMember]
            CARGA,
            [EnumMember]
            DESCARGA 
        };
        [DataMember]
        public Comandos Comando;
    }
}
